import request from '@/utils/request'

export const list = function(params){
  return request({
    url: '/product_specification_mannage/list',
    method: 'get',
    params: params,
  })
}

export const add = function(params){
  return request({
    url: '/product_specification_mannage/add',
    method: 'post',
    data: params,
  })
}


export const editGet = function(params){
  return request({
    url: '/product_specification_mannage/edit',
    method: 'get',
    params: params,
  })
}

export const editPost = function(params){
  return request({
    url: '/product_specification_mannage/edit',
    method: 'post',
    data: params,
  })
}

export const del = function(params){
  return request({
    url: '/product_specification_mannage/del',
    method: 'post',
    data: params,
  })
}

export const specNameList = function(params){
  return request({
    url: '/product_specification_mannage/specification_name',
    method: 'get',
    params: params,
  })
}
